package com.koron.common.web.mapper;

import com.koron.common.web.bean.StaffDepartmentRelationBean;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

public interface StaffDepartmentRelationMapper {
	
	/**
	 * 删除所有的员工部门关系表所有信息
	 * @return
	 */
	@Delete("DELETE FROM tblstaff_department")
	public int deleteAll();
	
	/**
	 * 批量插入员工信息
	 * @param list
	 * @return
	 */
	public int batchInsertStaffDepartment(List<StaffDepartmentRelationBean> list);

}
